settings.outformat = "pdf";
size(4cm, 0, keepAspect = false);

// ctx.bezierCurveTo(1.9, 1.2, 0.6, 1.6, 0, 3.0);
// ctx.bezierCurveTo(-0.6, 1.6, -1.9, 1.2, -2, 0);
//     controls (0,100) and (100,100)
draw(arc((-1, 0), r = 1, angle1 = 180, angle2 = 0));
draw(arc((1, 0), r = 1, angle1 = 180, angle2 = 0));
draw((3.0, 0)..controls(1.9, 1.2) and (0.6, 1.6)..(0.0, 3.0));
draw((0.0, 3.0)..controls(-0.6, 1.6) and (-1.9, 1.2)..(-2, 0.0));